<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>yellow</title>
	</head>

	<body style="height:1000px;background-color:yellow;">
	<button onclick="func1()">to back</button>

	<script type="text/javascript">
		function func1(){
			window.history.go(-2)
		}
	</script>

	
	</body>
</html>